<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta content="width=device-width, initial-scale=1.0" name="viewport">
    <title>职业卫生管理系统 | 专业职业健康解决方案</title>
    <meta content="职业卫生管理系统，助力企业合规管理与员工健康保护，提供体检管理、风险预警、数据分析等一体化解决方案。"
          name="description">
    <meta content="职业卫生, 职业健康, 合规管理, 体检管理, 风险预警, 数据分析, SaaS" name="keywords">
    <meta content="index,follow" name="robots">
    <link href="#" rel="canonical">
    <meta content="职业卫生管理系统" property="og:title">
    <meta content="一体化职业健康解决方案，帮助企业合规管理，保护员工健康" property="og:description">
    <meta content="website" property="og:type">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        :root {
            --color-primary: #3a7bd5;
            --color-primary-600: #2f6abf;
            --color-primary-700: #295ca6;
            --color-ink: #2c3e50;
            --radius-lg: 20px;
            --radius-xl: 24px;
            --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.06);
            --shadow-md: 0 10px 30px rgba(58, 123, 213, 0.18);
            --shadow-lg: 0 20px 50px rgba(58, 123, 213, 0.22);
            --gradient-hero: linear-gradient(135deg, #eef3ff 0%, #f7fbff 50%, #eef4ff 100%);
        }

        body {
            background: var(--gradient-hero);
            color: #333;
            line-height: 1.6;
            overflow-x: hidden;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* 导航栏样式 */
        header {
            padding: 20px 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.75);
            backdrop-filter: saturate(140%) blur(10px);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
            transition: all 0.3s ease;
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            font-size: 24px;
            font-weight: 700;
            color: #3a7bd5;
            text-decoration: none;
        }

        .logo i {
            margin-right: 10px;
            font-size: 28px;
        }

        .nav-links {
            display: flex;
            list-style: none;
        }

        .nav-links li {
            margin-left: 30px;
        }

        .nav-links a {
            text-decoration: none;
            color: #555;
            font-weight: 500;
            transition: color 0.3s;
            position: relative;
        }

        .nav-links a:hover {
            color: #3a7bd5;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 0;
            background-color: #3a7bd5;
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .auth-buttons {
            display: flex;
            gap: 15px;
        }

        .btn {
            padding: 10px 25px;
            /* border-radius: 20px; */
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            font-size: 16px;
        }

        .btn-login {
            background: transparent;
            color: #3a7bd5;
            border: 2px solid #3a7bd5;
        }

        .btn-login:hover {
            background: #3a7bd5;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(58, 123, 213, 0.3);
        }

        .btn-signup {
            background: #3a7bd5;
            color: white;
        }

        .btn-signup:hover {
            background: #2a5da0;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(58, 123, 213, 0.4);
        }

        /* 主内容区样式 */
        .hero {
            padding: 130px 0 90px;
            background: transparent;
            position: relative;
            overflow: hidden;
        }

        .hero::before,
        .hero::after {
            content: '';
            position: absolute;
            /* border-radius: 50%; */
            filter: blur(60px);
            opacity: .35;
            pointer-events: none;
            animation: floatY 9s ease-in-out infinite;
        }
        .hero::before {
            width: 420px; height: 420px;
            background: radial-gradient(closest-side, rgba(58,123,213,.35), rgba(58,123,213,0));
            left: -120px; top: -60px;
        }
        .hero::after {
            width: 360px; height: 360px;
            background: radial-gradient(closest-side, rgba(0,210,255,.28), rgba(0,210,255,0));
            right: -80px; bottom: -40px;
            animation-delay: .6s;
        }

        .hero .container {
            display: flex;
            flex-direction: column; /* 上下两行布局 */
            align-items: center; /* 居中 */
            justify-content: center;
            gap: 32px;
        }

        .hero-left {
            flex: 1 1 50%;
            text-align: center; /* 文本居中 */
        }

        .hero h1 {
            font-size: 48px;
            margin-bottom: 20px;
            color: #2c3e50;
            line-height: 1.1;
            opacity: 0;
            letter-spacing: .5px;
            animation: fadeInUp 0.8s ease forwards;
        }
        .gradient-text { background: linear-gradient(92deg, #1e3a8a 0%, #3a7bd5 45%, #00d2ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

        .hero p {
            font-size: 20px;
            color: #666;
            margin-bottom: 40px;
            line-height: 1.8;
            opacity: 0;
            animation: fadeInUp 0.8s ease 0.2s forwards;
        }

        .hero-buttons {
            display: flex;
            justify-content: center; /* 居中按钮 */
            gap: 20px;
            opacity: 0;
            animation: fadeInUp 0.8s ease 0.4s forwards;
        }

        /* 右侧跑马灯 */
        .hero-right {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center; /* 居中展示跑马灯 */
        }

        .marquee {
            width: 100%;
            height: 460px;
            overflow: hidden;
            /* border-radius: 12px; */
            box-shadow: 0 20px 50px rgba(58, 123, 213, 0.22);
            background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.75));
            position: relative;
            border: 1px solid rgba(255,255,255,.6);
        }

        .marquee-track {
            display: flex;
            width: max(200%, 1280px);
            animation: scrollX 22s linear infinite;
        }

        .marquee img {
            width: 640px;
            height: 460px;
            object-fit: cover;
            flex-shrink: 0;
            filter: saturate(105%);
            transform: scale(1.02);
            transition: transform 360ms cubic-bezier(.2,.8,.2,1);
        }
        .marquee:hover .marquee-track { animation-play-state: paused; }
        .marquee:hover img { transform: scale(1.04); }

        /* 跑马灯切换按钮（底部中间） */
        .marquee-controls {
            position: absolute;
            left: 50%;
            bottom: 14px;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            padding: 6px 10px;
            background: rgba(0, 0, 0, 0.32);
            /* border-radius: 24px; */
            backdrop-filter: blur(6px);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
        }

        .marquee-controls button {
            width: 10px;
            height: 10px;
            /* border-radius: 50%; */
            border: none;
            background: rgba(255, 255, 255, 0.6);
            cursor: pointer;
            transition: all 160ms ease;
        }

        .marquee-controls button:hover {
            background: rgba(255, 255, 255, 0.85);
        }

        .marquee-controls button.active {
            width: 22px;
            /* border-radius: 999px; */
            background: #ffffff;
        }

        @keyframes scrollX {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-50%);
            }
        }

        .btn-primary {
            background: var(--color-primary);
            color: white;
            padding: 14px 35px;
            font-size: 18px;
            box-shadow: 0 8px 24px rgba(58, 123, 213, 0.35);
            border: none;
            transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
            /* border-radius: 20px; */
        }

        .btn-primary:hover {
            background: var(--color-primary-600);
            transform: translateY(-2px);
            box-shadow: 0 12px 28px rgba(58, 123, 213, 0.45);
        }

        .btn-secondary {
            background: transparent;
            color: #3a7bd5;
            border: 2px solid #3a7bd5;
            padding: 14px 35px;
            font-size: 18px;
            /* border-radius: 20px; */
            transition: all 160ms ease;
        }

        .btn-secondary:hover {
            background: rgba(58, 123, 213, 0.1);
            transform: translateY(-2px);
            border-color: var(--color-primary-600);
            color: var(--color-primary-700);
        }

        /* 特性展示区 */
        .features {
            padding: 10px 0;
            background: white;
            /* border-radius: 30px 30px 0 0; */
            box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.05);
        }

        .section-title {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-title h2 {
            font-size: 36px;
            color: #2c3e50;
            margin-bottom: 15px;
        }

        .section-title p {
            color: #666;
            font-size: 18px;
            max-width: 600px;
            margin: 0 auto;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
        }

        .feature-card {
            background: #f8fafc;
            /* border-radius: 20px; */
            padding: 40px 30px;
            text-align: center;
            transition: transform 360ms cubic-bezier(.2,.8,.2,1), box-shadow 360ms cubic-bezier(.2,.8,.2,1);
            box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
            border: 1px solid rgba(0, 0, 0, 0.03);
            opacity: 0;
            transform: translateY(12px);
        }

        .feature-card:hover { transform: translateY(-8px); box-shadow: 0 20px 38px rgba(0, 0, 0, 0.12); }
        .feature-card.reveal { opacity: 1; transform: translateY(0); }

        .feature-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #3a7bd5, #00d2ff);
            /* border-radius: 50%; */
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 25px;
            color: white;
            font-size: 32px;
        }

        .feature-card h3 {
            font-size: 22px;
            margin-bottom: 15px;
            color: #2c3e50;
        }

        .feature-card p {
            color: #666;
            line-height: 1.6;
        }

        /* 表单样式 */
        .form-section {
            padding: 100px 0;
            background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
        }

        .form-container {
            max-width: 600px;
            margin: 0 auto;
            background: white;
            /* border-radius: 20px; */
            padding: 50px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
        }

        .form-title {
            text-align: center;
            margin-bottom: 40px;
        }

        .form-title h2 {
            font-size: 32px;
            color: #2c3e50;
            margin-bottom: 10px;
        }

        .form-title p {
            color: #666;
        }

        .form-group {
            margin-bottom: 25px;
            position: relative;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: #555;
            font-weight: 500;
        }

        .form-control {
            width: 100%;
            padding: 15px 20px;
            border: 2px solid #eaeaea;
            /* border-radius: 20px; */
            font-size: 16px;
            transition: all 0.3s ease;
        }

        .form-control:focus {
            border-color: #3a7bd5;
            box-shadow: 0 0 0 3px rgba(58, 123, 213, 0.2);
            outline: none;
        }

        .submit-btn {
            width: 100%;
            padding: 16px;
            background: #3a7bd5;
            color: white;
            border: none;
            /* border-radius: 20px; */
            font-size: 18px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 10px;
        }

        .submit-btn:hover {
            background: #2a5da0;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(58, 123, 213, 0.3);
        }

        /* 页脚样式 */
        footer {
            background: #2c3e50;
            color: white;
            padding: 70px 0 30px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            margin-bottom: 50px;
        }

        .footer-column h3 {
            font-size: 20px;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-column h3::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 40px;
            height: 3px;
            background: #3a7bd5;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: #bdc3c7;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: #3a7bd5;
            padding-left: 5px;
        }

        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #bdc3c7;
            font-size: 14px;
        }

        /* 动画效果 */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes floatY {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-16px); }
        }

        /* 去除JS后，特性卡片默认轻微浮现效果 */
        .animate-on-scroll {
            opacity: 1;
            transform: none;
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }

            .hero .container {
                flex-direction: column;
                text-align: center;
            }

            .hero h1 {
                font-size: 36px;
            }

            .hero p {
                font-size: 18px;
            }

            .hero-buttons {
                flex-direction: column;
                align-items: center;
            }

            .hero-buttons {
                justify-content: center;
            }

            .marquee {
                max-width: 100%;
                height: 240px;
            }

            .marquee img {
                height: 240px;
                width: 100%;
            }

            .btn {
                width: 100%;
                max-width: 300px;
            }

            .features-grid {
                grid-template-columns: 1fr;
            }

            .form-container {
                padding: 30px 20px;
            }
        }

        /* 无障碍：减少动态时降低装饰性动画 */
        @media (prefers-reduced-motion: reduce) {
            .marquee-track { animation: none !important; }
            .hero::before, .hero::after { display: none !important; }
            .feature-card, .btn, .marquee img { transition: none !important; }
        }

        /* 右侧悬浮微信二维码 */
        .floating-wx {
            position: absolute;
            right: 22px;
            top: 120px;
            z-index: 1200;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 120px;
            height: auto;
            padding: 8px 8px 10px;
            background: rgba(255,255,255,0.9);
            border: 1px solid rgba(0,0,0,0.06);
            box-shadow: 0 12px 30px rgba(0,0,0,0.12);
            backdrop-filter: saturate(140%) blur(6px);
            transition: transform 160ms ease, box-shadow 160ms ease;
        }
        .floating-wx img {
            width: 110px;
            height: 110px;
            object-fit: cover;
        }
        .floating-wx:hover { transform: scale(1.05); box-shadow: 0 18px 40px rgba(0,0,0,0.18); }

        /* 小屏优化：缩小并贴近底部 */
        @media (max-width: 768px) {
            .floating-wx { right: 14px; top: 90px; width: 120px; height: auto; padding: 6px; }
            .floating-wx:hover { transform: scale(1.05); }
            .floating-wx img { width: 110px; height: 110px; }
        }

        .floating-wx .wx-phone {
            margin-top: 8px;
            display: flex;
            align-items: center;
            gap: 6px;
            background: rgba(255,255,255,0.95);
            box-shadow: 0 6px 16px rgba(58,123,213,0.12);
            color: #2c3e50;
            font-size: 13px;
            line-height: 1;
        }
        .floating-wx .wx-phone a { color: #2c3e50; text-decoration: none; font-weight: 700; }
        .floating-wx .wx-phone a:hover { color: #2f6abf; }
    </style>
</head>
<body>
<!-- 导航栏 -->
<header>
    <div class="container header-container">
        <a aria-label="职业卫士首页" class="logo" href="#">
            <svg aria-hidden="true" fill="none" focusable="false" height="28" style="margin-right:10px" viewBox="0 0 24 24"
                 width="28">
                <path d="M12 2l7 3v6c0 5-3.5 9-7 11-3.5-2-7-6-7-11V5l7-3z" fill="#3a7bd5"/>
                <path d="M12 7l4 2v2c0 3-2.2 5.6-4 6.9-1.8-1.3-4-3.9-4-6.9V9l4-2z" fill="#fff"/>
            </svg>
            职卫好帮手
        </a>

        <ul class="nav-links">
            <li><a href="#">首页</a></li>
            <li><a href="#">产品功能</a></li>
            <li><a href="#">解决方案</a></li>
            <li><a href="#">定价</a></li>
            <li><a href="#">资源中心</a></li>
        </ul>

        <div class="auth-buttons">
            <button class="btn btn-login">登录</button>
            <button class="btn btn-signup">免费试用</button>
        </div>
    </div>
</header>

<!-- 主内容区 -->
<section class="hero">
    <div class="container">
        <div class="hero-left">
            <h1 class="gradient-text">职业卫生报告生成，从未如此简单</h1>
            <p>符合GBZ331-2024职业卫生技术技术服务工作规范</p>
            <div class="hero-buttons">
                <button class="btn btn-primary">免费试用</button>
            </div>
        </div>
        <div class="hero-right">
            <div class="marquee">
                <div class="marquee-track">
                    <img alt="demo-1"
                         src="https://images.unsplash.com/photo-1581090700227-1e37b190418e?q=80&w=1200&auto=format&fit=crop">
                    <img alt="demo-2"
                         src="https://images.unsplash.com/photo-1511174511562-5f7f18b874f8?q=80&w=1200&auto=format&fit=crop">
                    <img alt="demo-3"
                         src="https://images.unsplash.com/photo-1526256262350-7da7584cf5eb?q=80&w=1200&auto=format&fit=crop">
                    <img alt="demo-4"
                         src="https://images.unsplash.com/photo-1510070009289-b5bc34383727?q=80&w=1200&auto=format&fit=crop">
                </div>
                <div aria-label="图片切换" class="marquee-controls">
                    <button aria-label="切换到第1张" class="active" type="button"></button>
                    <button aria-label="切换到第2张" type="button"></button>
                    <button aria-label="切换到第3张" type="button"></button>
                    <button aria-label="切换到第4张" type="button"></button>
                </div>
            </div>
        </div>
    </div>
</section>

<!-- 特性展示区 -->
<section class="features">
    <div class="container">
        <div class="section-title">
            <h2>为什么选择职业卫士？</h2>
            <p>我们提供全面的职业卫生管理工具，帮助企业轻松应对合规挑战</p>
        </div>

        <div class="features-grid">
            <div class="feature-card animate-on-scroll">
                <div aria-hidden="true" class="feature-icon">
                    <svg fill="none" height="36" viewBox="0 0 24 24" width="36">
                        <path d="M9 11l2 2 4-4" stroke="#fff" stroke-linecap="round" stroke-linejoin="round"
                              stroke-width="2"/>
                        <rect fill="none" height="16" rx="2" ry="2" stroke="#fff" stroke-width="2" width="18" x="3"
                              y="4"/>
                    </svg>
                </div>
                <h3>合规管理</h3>
                <p>自动跟踪法规变化，确保企业始终符合职业卫生相关法律法规要求，降低合规风险。</p>
            </div>

            <div class="feature-card animate-on-scroll">
                <div aria-hidden="true" class="feature-icon">
                    <svg fill="none" height="36" viewBox="0 0 24 24" width="36">
                        <circle cx="12" cy="7" r="3" stroke="#fff" stroke-width="2"/>
                        <path d="M5 21c0-4 3-7 7-7s7 3 7 7" fill="none" stroke="#fff" stroke-width="2"/>
                    </svg>
                </div>
                <h3>健康监护</h3>
                <p>完整的员工健康档案管理，定期体检提醒，职业病风险评估与干预措施建议。</p>
            </div>

            <div class="feature-card animate-on-scroll">
                <div aria-hidden="true" class="feature-icon">
                    <svg fill="none" height="36" viewBox="0 0 24 24" width="36">
                        <path d="M3 3v18h18" stroke="#fff" stroke-width="2"/>
                        <path d="M7 15l4-4 3 3 5-6" fill="none" stroke="#fff" stroke-width="2"/>
                    </svg>
                </div>
                <h3>数据分析</h3>
                <p>智能分析职业健康数据，生成可视化报告，帮助企业识别风险趋势并制定预防策略。</p>
            </div>

            <div class="feature-card animate-on-scroll">
                <div aria-hidden="true" class="feature-icon">
                    <svg fill="none" height="36" viewBox="0 0 24 24" width="36">
                        <path d="M12 2l10 18H2L12 2z" fill="none" stroke="#fff" stroke-width="2"/>
                        <path d="M12 9v4" stroke="#fff" stroke-width="2"/>
                        <circle cx="12" cy="16" fill="#fff" r="1"/>
                    </svg>
                </div>
                <h3>风险预警</h3>
                <p>实时监测工作环境危害因素，及时发出预警，帮助企业快速响应潜在职业健康风险。</p>
            </div>

            <div class="feature-card animate-on-scroll">
                <div aria-hidden="true" class="feature-icon">
                    <svg fill="none" height="36" viewBox="0 0 24 24" width="36">
                        <path d="M12 3l10 5-10 5L2 8l10-5z" fill="none" stroke="#fff" stroke-width="2"/>
                        <path d="M4 10v4c3 2 11 2 14 0v-4" fill="none" stroke="#fff" stroke-width="2"/>
                    </svg>
                </div>
                <h3>在线培训</h3>
                <p>提供丰富的职业健康培训课程，提高员工安全意识和自我保护能力，降低事故发生率。</p>
            </div>

            <div class="feature-card animate-on-scroll">
                <div aria-hidden="true" class="feature-icon">
                    <svg fill="none" height="36" viewBox="0 0 24 24" width="36">
                        <rect fill="none" height="20" rx="2" stroke="#fff" stroke-width="2" width="10" x="7" y="2"/>
                        <circle cx="12" cy="18" fill="#fff" r="1"/>
                    </svg>
                </div>
                <h3>移动办公</h3>
                <p>支持多终端访问，随时随地管理职业健康事务，提高工作效率和响应速度。</p>
            </div>
        </div>
    </div>
</section>

<!-- 表单区域 -->
<section class="form-section">
    <div class="container">
        <div class="form-container">
            <div class="form-title">
                <h2>申请免费试用</h2>
                <p>填写以下信息，我们将为您安排免费试用</p>
            </div>

            <form id="demo-form">
                <div class="form-group">
                    <label for="name">姓名</label>
                    <input id="name" class="form-control" placeholder="请输入您的姓名" type="text">
                </div>

                <div class="form-group">
                    <label for="company">公司名称</label>
                    <input id="company" class="form-control" placeholder="请输入您的公司名称" type="text">
                </div>

                <div class="form-group">
                    <label for="phone">联系电话</label>
                    <input id="phone" class="form-control" placeholder="请输入您的联系电话" type="tel">
                </div>
                <button class="submit-btn" type="submit">提交申请</button>
            </form>
        </div>
    </div>
</section>

<!-- 页脚 -->
<footer role="contentinfo">
    <div class="container">
        <div class="footer-content">
            <div class="footer-column">
                <h3>职业卫士</h3>
                <p>专业的职业卫生管理SaaS平台，帮助企业轻松管理职业健康事务，确保合规运营。</p>
            </div>

            <div class="footer-column">
                <h3>产品</h3>
                <ul class="footer-links">
                    <li><a href="#">功能特性</a></li>
                    <li><a href="#">解决方案</a></li>
                    <li><a href="#">定价计划</a></li>
                    <li><a href="#">系统集成</a></li>
                    <li><a href="#">API文档</a></li>
                </ul>
            </div>

            <div class="footer-column">
                <h3>资源</h3>
                <ul class="footer-links">
                    <li><a href="#">博客</a></li>
                    <li><a href="#">帮助中心</a></li>
                    <li><a href="#">案例研究</a></li>
                    <li><a href="#">白皮书</a></li>
                    <li><a href="#">职业健康法规</a></li>
                </ul>
            </div>

            <div class="footer-column">
                <h3>公司</h3>
                <ul class="footer-links">
                    <li><a href="#">关于我们</a></li>
                    <li><a href="#">职业机会</a></li>
                    <li><a href="#">联系我们</a></li>
                    <li><a href="#">合作伙伴</a></li>
                    <li><a href="#">隐私政策</a></li>
                </ul>
            </div>
        </div>

        <div class="copyright">
            <p>&copy; 2023 职业卫士 - 职业卫生管理系统. 保留所有权利.</p>
        </div>
    </div>
</footer>

<!-- 无JS版本：保留纯CSS与语义结构，增强性能与SEO -->
<!-- 右侧悬浮微信二维码（随滚动缓动跟随） -->
<div class="floating-wx" aria-label="微信二维码">
    <img src="wx.png" alt="微信二维码">
    <div class="wx-phone" aria-label="联系电话">
        <!-- 简单电话图标（SVG） -->
        <svg width="14" height="14" viewBox="0 0 24 24" fill="none" aria-hidden="true">
            <path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07A19.5 19.5 0 0 1 3.16 12 19.79 19.79 0 0 1 .09 3.37 2 2 0 0 1 2.06 1h3a2 2 0 0 1 2 1.72c.12.86.32 1.7.59 2.5a2 2 0 0 1-.45 2.11L6.1 8.91a16 16 0 0 0 7 7l1.58-1.06a2 2 0 0 1 2.11-.45c.8.27 1.64.47 2.5.59A2 2 0 0 1 22 16.92z" fill="#3a7bd5"/>
        </svg>
        <a href="tel:15527266690" title="拨打电话">15527266690</a>
    </div>
 </div>

<script>
    (function () {
        var track = document.querySelector('.marquee-track');
        var controls = document.querySelectorAll('.marquee-controls button');
        if (!track || controls.length === 0) return;

        var slideWidth = 640; // 与 .marquee img 宽度一致
        function activate(index) {
            controls.forEach(function (btn, i) {
                if (i === index) btn.classList.add('active');
                else btn.classList.remove('active');
            });
        }

        controls.forEach(function (btn, index) {
            btn.addEventListener('click', function () {
                // 停止自动滚动并切到对应图片
                track.style.animation = 'none';
                track.style.transform = 'translateX(' + (-index * slideWidth) + 'px)';
                activate(index);
            });
        });
    })();

    // 浮动跟随：右侧二维码随滚动缓动跟随
    (function () {
        var node = document.querySelector('.floating-wx');
        if (!node) return;

        var prefersReduce = window.matchMedia && window.matchMedia('(prefers-reduced-motion: reduce)').matches;
        var targetY = window.scrollY + window.innerHeight / 2 - 80; // 目标位置（居中略上）
        var currentY = node.offsetTop || 120;
        var rafId;

        function step() {
            if (prefersReduce) { node.style.top = Math.max(80, window.scrollY + 120) + 'px'; return; }
            targetY = window.scrollY + window.innerHeight / 2 - 80;
            currentY += (targetY - currentY) * 0.12; // 缓动跟随
            node.style.top = Math.max(80, currentY) + 'px';
            rafId = requestAnimationFrame(step);
        }

        function onScrollResize() {
            if (!rafId) rafId = requestAnimationFrame(step);
        }

        window.addEventListener('scroll', onScrollResize, { passive: true });
        window.addEventListener('resize', onScrollResize);
        step();
    })();
</script>
</body>
</html>
